home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / dbus-1 / system.d / ConsoleKit.conf < prev    next >
Text File  |  2009-08-24  |  7KB  |  148 lines

  1. <!DOCTYPE busconfig PUBLIC
  2.  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  3.  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
  4. <busconfig>
  5.  
  6.   <!-- Only root can own the service -->
  7.   <policy user="root">
  8.     <allow own="org.freedesktop.ConsoleKit"/>
  9.  
  10.     <!-- Allow all methods on interfaces -->
  11.     <allow send_destination="org.freedesktop.ConsoleKit"/>
  12.   </policy>
  13.  
  14.   <!-- Deny all and then allow some methods on interfaces -->
  15.   <policy context="default">
  16.     <allow send_destination="org.freedesktop.ConsoleKit"
  17.            send_interface="org.freedesktop.DBus.Introspectable"/>
  18.     <deny send_destination="org.freedesktop.ConsoleKit" 
  19.           send_interface="org.freedesktop.ConsoleKit.Manager"/>
  20.     <deny send_destination="org.freedesktop.ConsoleKit" 
  21.           send_interface="org.freedesktop.ConsoleKit.Seat"/>
  22.     <deny send_destination="org.freedesktop.ConsoleKit" 
  23.           send_interface="org.freedesktop.ConsoleKit.Session"/>
  24.     <deny send_destination="org.freedesktop.ConsoleKit"
  25.           send_interface="org.freedesktop.DBus.Properties" />
  26.  
  27.     <allow send_destination="org.freedesktop.ConsoleKit"
  28.            send_interface="org.freedesktop.ConsoleKit.Manager"
  29.            send_member="Restart"/>
  30.     <allow send_destination="org.freedesktop.ConsoleKit"
  31.            send_interface="org.freedesktop.ConsoleKit.Manager"
  32.            send_member="CanRestart"/>
  33.     <allow send_destination="org.freedesktop.ConsoleKit"
  34.            send_interface="org.freedesktop.ConsoleKit.Manager"
  35.            send_member="Stop"/>
  36.     <allow send_destination="org.freedesktop.ConsoleKit"
  37.            send_interface="org.freedesktop.ConsoleKit.Manager"
  38.            send_member="CanStop"/>
  39.     <allow send_destination="org.freedesktop.ConsoleKit"
  40.            send_interface="org.freedesktop.ConsoleKit.Manager"
  41.            send_member="OpenSession"/>
  42.     <allow send_destination="org.freedesktop.ConsoleKit"
  43.            send_interface="org.freedesktop.ConsoleKit.Manager"
  44.            send_member="CloseSession"/>
  45.     <allow send_destination="org.freedesktop.ConsoleKit"
  46.            send_interface="org.freedesktop.ConsoleKit.Manager"
  47.            send_member="GetSeats"/>
  48.     <allow send_destination="org.freedesktop.ConsoleKit"
  49.            send_interface="org.freedesktop.ConsoleKit.Manager"
  50.            send_member="GetSessions"/>
  51.     <allow send_destination="org.freedesktop.ConsoleKit"
  52.            send_interface="org.freedesktop.ConsoleKit.Manager"
  53.            send_member="GetSessionForCookie"/>
  54.     <allow send_destination="org.freedesktop.ConsoleKit"
  55.            send_interface="org.freedesktop.ConsoleKit.Manager"
  56.            send_member="GetSessionForUnixProcess"/>
  57.     <allow send_destination="org.freedesktop.ConsoleKit"
  58.            send_interface="org.freedesktop.ConsoleKit.Manager"
  59.            send_member="GetCurrentSession"/>
  60.     <allow send_destination="org.freedesktop.ConsoleKit"
  61.            send_interface="org.freedesktop.ConsoleKit.Manager"
  62.            send_member="GetSessionsForUnixUser"/>
  63.     <allow send_destination="org.freedesktop.ConsoleKit"
  64.            send_interface="org.freedesktop.ConsoleKit.Manager"
  65.            send_member="GetSessionsForUser"/>
  66.     <allow send_destination="org.freedesktop.ConsoleKit"
  67.            send_interface="org.freedesktop.ConsoleKit.Manager"
  68.            send_member="GetSystemIdleHint"/>
  69.     <allow send_destination="org.freedesktop.ConsoleKit"
  70.            send_interface="org.freedesktop.ConsoleKit.Manager"
  71.            send_member="GetSystemIdleSinceHint"/>
  72.  
  73.     <allow send_destination="org.freedesktop.ConsoleKit"
  74.            send_interface="org.freedesktop.ConsoleKit.Seat"
  75.            send_member="GetId"/>
  76.     <allow send_destination="org.freedesktop.ConsoleKit"
  77.            send_interface="org.freedesktop.ConsoleKit.Seat"
  78.            send_member="GetSessions"/>
  79.     <allow send_destination="org.freedesktop.ConsoleKit"
  80.            send_interface="org.freedesktop.ConsoleKit.Seat"
  81.            send_member="GetDevices"/>
  82.     <allow send_destination="org.freedesktop.ConsoleKit"
  83.            send_interface="org.freedesktop.ConsoleKit.Seat"
  84.            send_member="GetActiveSession"/>
  85.     <allow send_destination="org.freedesktop.ConsoleKit"
  86.            send_interface="org.freedesktop.ConsoleKit.Seat"
  87.            send_member="CanActivateSessions"/>
  88.     <allow send_destination="org.freedesktop.ConsoleKit"
  89.            send_interface="org.freedesktop.ConsoleKit.Seat"
  90.            send_member="ActivateSession"/>
  91.  
  92.     <allow send_destination="org.freedesktop.ConsoleKit"
  93.            send_interface="org.freedesktop.ConsoleKit.Session"
  94.            send_member="GetId"/>
  95.     <allow send_destination="org.freedesktop.ConsoleKit"
  96.            send_interface="org.freedesktop.ConsoleKit.Session"
  97.            send_member="GetSeatId"/>
  98.     <allow send_destination="org.freedesktop.ConsoleKit"
  99.            send_interface="org.freedesktop.ConsoleKit.Session"
  100.            send_member="GetLoginSessionId"/>
  101.     <allow send_destination="org.freedesktop.ConsoleKit"
  102.            send_interface="org.freedesktop.ConsoleKit.Session"
  103.            send_member="GetSessionType"/>
  104.     <allow send_destination="org.freedesktop.ConsoleKit"
  105.            send_interface="org.freedesktop.ConsoleKit.Session"
  106.            send_member="GetUser"/>
  107.     <allow send_destination="org.freedesktop.ConsoleKit"
  108.            send_interface="org.freedesktop.ConsoleKit.Session"
  109.            send_member="GetUnixUser"/>
  110.     <allow send_destination="org.freedesktop.ConsoleKit"
  111.            send_interface="org.freedesktop.ConsoleKit.Session"
  112.            send_member="GetX11Display"/>
  113.     <allow send_destination="org.freedesktop.ConsoleKit"
  114.            send_interface="org.freedesktop.ConsoleKit.Session"
  115.            send_member="GetX11DisplayDevice"/>
  116.     <allow send_destination="org.freedesktop.ConsoleKit"
  117.            send_interface="org.freedesktop.ConsoleKit.Session"
  118.            send_member="GetDisplayDevice"/>
  119.     <allow send_destination="org.freedesktop.ConsoleKit"
  120.            send_interface="org.freedesktop.ConsoleKit.Session"
  121.            send_member="GetRemoteHostName"/>
  122.     <allow send_destination="org.freedesktop.ConsoleKit"
  123.            send_interface="org.freedesktop.ConsoleKit.Session"
  124.            send_member="IsActive"/>
  125.     <allow send_destination="org.freedesktop.ConsoleKit"
  126.            send_interface="org.freedesktop.ConsoleKit.Session"
  127.            send_member="IsLocal"/>
  128.     <allow send_destination="org.freedesktop.ConsoleKit"
  129.            send_interface="org.freedesktop.ConsoleKit.Session"
  130.            send_member="GetCreationTime"/>
  131.     <allow send_destination="org.freedesktop.ConsoleKit"
  132.            send_interface="org.freedesktop.ConsoleKit.Session"
  133.            send_member="Activate"/>
  134.     <allow send_destination="org.freedesktop.ConsoleKit"
  135.            send_interface="org.freedesktop.ConsoleKit.Session"
  136.            send_member="GetIdleHint"/>
  137.     <allow send_destination="org.freedesktop.ConsoleKit"
  138.            send_interface="org.freedesktop.ConsoleKit.Session"
  139.            send_member="SetIdleHint"/>
  140.     <allow send_destination="org.freedesktop.ConsoleKit"
  141.            send_interface="org.freedesktop.ConsoleKit.Session"
  142.            send_member="GetIdleSinceHint"/>
  143.     <allow send_interface="org.freedesktop.ConsoleKit.Session"
  144.            send_member="SetIdleHint"/>
  145.   </policy>
  146.  
  147. </busconfig>
  148.